import React from 'react'
import store from './redux/store'
export default function Test() {
  return (
    <div>
      Test
      <hr />
      <p>{store.getState().xxx}</p>
      <button
        onClick={() => {
          store.dispatch({
            type: 'updateXxx',
            payload: '老陶,嘿嘿嘿,确实是个lsp',
          })
        }}
      >
        修改xxx
      </button>
    </div>
  )
}
